package com.hospital.phyexam.entity;

import java.util.ArrayList;
import java.util.List;

public class PhyexamExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PhyexamExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPhyExmStuIdIsNull() {
            addCriterion("phy_exm_stu_id is null");
            return (Criteria) this;
        }

        public Criteria andPhyExmStuIdIsNotNull() {
            addCriterion("phy_exm_stu_id is not null");
            return (Criteria) this;
        }

        public Criteria andPhyExmStuIdEqualTo(Integer value) {
            addCriterion("phy_exm_stu_id =", value, "phyExmStuId");
            return (Criteria) this;
        }

        public Criteria andPhyExmStuIdNotEqualTo(Integer value) {
            addCriterion("phy_exm_stu_id <>", value, "phyExmStuId");
            return (Criteria) this;
        }

        public Criteria andPhyExmStuIdGreaterThan(Integer value) {
            addCriterion("phy_exm_stu_id >", value, "phyExmStuId");
            return (Criteria) this;
        }

        public Criteria andPhyExmStuIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("phy_exm_stu_id >=", value, "phyExmStuId");
            return (Criteria) this;
        }

        public Criteria andPhyExmStuIdLessThan(Integer value) {
            addCriterion("phy_exm_stu_id <", value, "phyExmStuId");
            return (Criteria) this;
        }

        public Criteria andPhyExmStuIdLessThanOrEqualTo(Integer value) {
            addCriterion("phy_exm_stu_id <=", value, "phyExmStuId");
            return (Criteria) this;
        }

        public Criteria andPhyExmStuIdIn(List<Integer> values) {
            addCriterion("phy_exm_stu_id in", values, "phyExmStuId");
            return (Criteria) this;
        }

        public Criteria andPhyExmStuIdNotIn(List<Integer> values) {
            addCriterion("phy_exm_stu_id not in", values, "phyExmStuId");
            return (Criteria) this;
        }

        public Criteria andPhyExmStuIdBetween(Integer value1, Integer value2) {
            addCriterion("phy_exm_stu_id between", value1, value2, "phyExmStuId");
            return (Criteria) this;
        }

        public Criteria andPhyExmStuIdNotBetween(Integer value1, Integer value2) {
            addCriterion("phy_exm_stu_id not between", value1, value2, "phyExmStuId");
            return (Criteria) this;
        }

        public Criteria andPhyExmCardNumIsNull() {
            addCriterion("phy_exm_card_num is null");
            return (Criteria) this;
        }

        public Criteria andPhyExmCardNumIsNotNull() {
            addCriterion("phy_exm_card_num is not null");
            return (Criteria) this;
        }

        public Criteria andPhyExmCardNumEqualTo(String value) {
            addCriterion("phy_exm_card_num =", value, "phyExmCardNum");
            return (Criteria) this;
        }

        public Criteria andPhyExmCardNumNotEqualTo(String value) {
            addCriterion("phy_exm_card_num <>", value, "phyExmCardNum");
            return (Criteria) this;
        }

        public Criteria andPhyExmCardNumGreaterThan(String value) {
            addCriterion("phy_exm_card_num >", value, "phyExmCardNum");
            return (Criteria) this;
        }

        public Criteria andPhyExmCardNumGreaterThanOrEqualTo(String value) {
            addCriterion("phy_exm_card_num >=", value, "phyExmCardNum");
            return (Criteria) this;
        }

        public Criteria andPhyExmCardNumLessThan(String value) {
            addCriterion("phy_exm_card_num <", value, "phyExmCardNum");
            return (Criteria) this;
        }

        public Criteria andPhyExmCardNumLessThanOrEqualTo(String value) {
            addCriterion("phy_exm_card_num <=", value, "phyExmCardNum");
            return (Criteria) this;
        }

        public Criteria andPhyExmCardNumLike(String value) {
            addCriterion("phy_exm_card_num like", value, "phyExmCardNum");
            return (Criteria) this;
        }

        public Criteria andPhyExmCardNumNotLike(String value) {
            addCriterion("phy_exm_card_num not like", value, "phyExmCardNum");
            return (Criteria) this;
        }

        public Criteria andPhyExmCardNumIn(List<String> values) {
            addCriterion("phy_exm_card_num in", values, "phyExmCardNum");
            return (Criteria) this;
        }

        public Criteria andPhyExmCardNumNotIn(List<String> values) {
            addCriterion("phy_exm_card_num not in", values, "phyExmCardNum");
            return (Criteria) this;
        }

        public Criteria andPhyExmCardNumBetween(String value1, String value2) {
            addCriterion("phy_exm_card_num between", value1, value2, "phyExmCardNum");
            return (Criteria) this;
        }

        public Criteria andPhyExmCardNumNotBetween(String value1, String value2) {
            addCriterion("phy_exm_card_num not between", value1, value2, "phyExmCardNum");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationIsNull() {
            addCriterion("phy_exm_nation is null");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationIsNotNull() {
            addCriterion("phy_exm_nation is not null");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationEqualTo(String value) {
            addCriterion("phy_exm_nation =", value, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationNotEqualTo(String value) {
            addCriterion("phy_exm_nation <>", value, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationGreaterThan(String value) {
            addCriterion("phy_exm_nation >", value, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationGreaterThanOrEqualTo(String value) {
            addCriterion("phy_exm_nation >=", value, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationLessThan(String value) {
            addCriterion("phy_exm_nation <", value, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationLessThanOrEqualTo(String value) {
            addCriterion("phy_exm_nation <=", value, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationLike(String value) {
            addCriterion("phy_exm_nation like", value, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationNotLike(String value) {
            addCriterion("phy_exm_nation not like", value, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationIn(List<String> values) {
            addCriterion("phy_exm_nation in", values, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationNotIn(List<String> values) {
            addCriterion("phy_exm_nation not in", values, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationBetween(String value1, String value2) {
            addCriterion("phy_exm_nation between", value1, value2, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationNotBetween(String value1, String value2) {
            addCriterion("phy_exm_nation not between", value1, value2, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeIsNull() {
            addCriterion("phy_exm_age is null");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeIsNotNull() {
            addCriterion("phy_exm_age is not null");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeEqualTo(Integer value) {
            addCriterion("phy_exm_age =", value, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeNotEqualTo(Integer value) {
            addCriterion("phy_exm_age <>", value, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeGreaterThan(Integer value) {
            addCriterion("phy_exm_age >", value, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeGreaterThanOrEqualTo(Integer value) {
            addCriterion("phy_exm_age >=", value, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeLessThan(Integer value) {
            addCriterion("phy_exm_age <", value, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeLessThanOrEqualTo(Integer value) {
            addCriterion("phy_exm_age <=", value, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeIn(List<Integer> values) {
            addCriterion("phy_exm_age in", values, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeNotIn(List<Integer> values) {
            addCriterion("phy_exm_age not in", values, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeBetween(Integer value1, Integer value2) {
            addCriterion("phy_exm_age between", value1, value2, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeNotBetween(Integer value1, Integer value2) {
            addCriterion("phy_exm_age not between", value1, value2, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryIsNull() {
            addCriterion("phy_exm_medical_history is null");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryIsNotNull() {
            addCriterion("phy_exm_medical_history is not null");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryEqualTo(String value) {
            addCriterion("phy_exm_medical_history =", value, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryNotEqualTo(String value) {
            addCriterion("phy_exm_medical_history <>", value, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryGreaterThan(String value) {
            addCriterion("phy_exm_medical_history >", value, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryGreaterThanOrEqualTo(String value) {
            addCriterion("phy_exm_medical_history >=", value, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryLessThan(String value) {
            addCriterion("phy_exm_medical_history <", value, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryLessThanOrEqualTo(String value) {
            addCriterion("phy_exm_medical_history <=", value, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryLike(String value) {
            addCriterion("phy_exm_medical_history like", value, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryNotLike(String value) {
            addCriterion("phy_exm_medical_history not like", value, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryIn(List<String> values) {
            addCriterion("phy_exm_medical_history in", values, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryNotIn(List<String> values) {
            addCriterion("phy_exm_medical_history not in", values, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryBetween(String value1, String value2) {
            addCriterion("phy_exm_medical_history between", value1, value2, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryNotBetween(String value1, String value2) {
            addCriterion("phy_exm_medical_history not between", value1, value2, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceIsNull() {
            addCriterion("phy_exm_birth_place is null");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceIsNotNull() {
            addCriterion("phy_exm_birth_place is not null");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceEqualTo(String value) {
            addCriterion("phy_exm_birth_place =", value, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceNotEqualTo(String value) {
            addCriterion("phy_exm_birth_place <>", value, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceGreaterThan(String value) {
            addCriterion("phy_exm_birth_place >", value, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceGreaterThanOrEqualTo(String value) {
            addCriterion("phy_exm_birth_place >=", value, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceLessThan(String value) {
            addCriterion("phy_exm_birth_place <", value, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceLessThanOrEqualTo(String value) {
            addCriterion("phy_exm_birth_place <=", value, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceLike(String value) {
            addCriterion("phy_exm_birth_place like", value, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceNotLike(String value) {
            addCriterion("phy_exm_birth_place not like", value, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceIn(List<String> values) {
            addCriterion("phy_exm_birth_place in", values, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceNotIn(List<String> values) {
            addCriterion("phy_exm_birth_place not in", values, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceBetween(String value1, String value2) {
            addCriterion("phy_exm_birth_place between", value1, value2, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceNotBetween(String value1, String value2) {
            addCriterion("phy_exm_birth_place not between", value1, value2, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionIsNull() {
            addCriterion("phy_exm_conclusion is null");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionIsNotNull() {
            addCriterion("phy_exm_conclusion is not null");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionEqualTo(String value) {
            addCriterion("phy_exm_conclusion =", value, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionNotEqualTo(String value) {
            addCriterion("phy_exm_conclusion <>", value, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionGreaterThan(String value) {
            addCriterion("phy_exm_conclusion >", value, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionGreaterThanOrEqualTo(String value) {
            addCriterion("phy_exm_conclusion >=", value, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionLessThan(String value) {
            addCriterion("phy_exm_conclusion <", value, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionLessThanOrEqualTo(String value) {
            addCriterion("phy_exm_conclusion <=", value, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionLike(String value) {
            addCriterion("phy_exm_conclusion like", value, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionNotLike(String value) {
            addCriterion("phy_exm_conclusion not like", value, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionIn(List<String> values) {
            addCriterion("phy_exm_conclusion in", values, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionNotIn(List<String> values) {
            addCriterion("phy_exm_conclusion not in", values, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionBetween(String value1, String value2) {
            addCriterion("phy_exm_conclusion between", value1, value2, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionNotBetween(String value1, String value2) {
            addCriterion("phy_exm_conclusion not between", value1, value2, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmPhysicianIsNull() {
            addCriterion("phy_exm_physician is null");
            return (Criteria) this;
        }

        public Criteria andPhyExmPhysicianIsNotNull() {
            addCriterion("phy_exm_physician is not null");
            return (Criteria) this;
        }

        public Criteria andPhyExmPhysicianEqualTo(String value) {
            addCriterion("phy_exm_physician =", value, "phyExmPhysician");
            return (Criteria) this;
        }

        public Criteria andPhyExmPhysicianNotEqualTo(String value) {
            addCriterion("phy_exm_physician <>", value, "phyExmPhysician");
            return (Criteria) this;
        }

        public Criteria andPhyExmPhysicianGreaterThan(String value) {
            addCriterion("phy_exm_physician >", value, "phyExmPhysician");
            return (Criteria) this;
        }

        public Criteria andPhyExmPhysicianGreaterThanOrEqualTo(String value) {
            addCriterion("phy_exm_physician >=", value, "phyExmPhysician");
            return (Criteria) this;
        }

        public Criteria andPhyExmPhysicianLessThan(String value) {
            addCriterion("phy_exm_physician <", value, "phyExmPhysician");
            return (Criteria) this;
        }

        public Criteria andPhyExmPhysicianLessThanOrEqualTo(String value) {
            addCriterion("phy_exm_physician <=", value, "phyExmPhysician");
            return (Criteria) this;
        }

        public Criteria andPhyExmPhysicianLike(String value) {
            addCriterion("phy_exm_physician like", value, "phyExmPhysician");
            return (Criteria) this;
        }

        public Criteria andPhyExmPhysicianNotLike(String value) {
            addCriterion("phy_exm_physician not like", value, "phyExmPhysician");
            return (Criteria) this;
        }

        public Criteria andPhyExmPhysicianIn(List<String> values) {
            addCriterion("phy_exm_physician in", values, "phyExmPhysician");
            return (Criteria) this;
        }

        public Criteria andPhyExmPhysicianNotIn(List<String> values) {
            addCriterion("phy_exm_physician not in", values, "phyExmPhysician");
            return (Criteria) this;
        }

        public Criteria andPhyExmPhysicianBetween(String value1, String value2) {
            addCriterion("phy_exm_physician between", value1, value2, "phyExmPhysician");
            return (Criteria) this;
        }

        public Criteria andPhyExmPhysicianNotBetween(String value1, String value2) {
            addCriterion("phy_exm_physician not between", value1, value2, "phyExmPhysician");
            return (Criteria) this;
        }

        public Criteria andPhyExmRemarkIsNull() {
            addCriterion("phy_exm_remark is null");
            return (Criteria) this;
        }

        public Criteria andPhyExmRemarkIsNotNull() {
            addCriterion("phy_exm_remark is not null");
            return (Criteria) this;
        }

        public Criteria andPhyExmRemarkEqualTo(String value) {
            addCriterion("phy_exm_remark =", value, "phyExmRemark");
            return (Criteria) this;
        }

        public Criteria andPhyExmRemarkNotEqualTo(String value) {
            addCriterion("phy_exm_remark <>", value, "phyExmRemark");
            return (Criteria) this;
        }

        public Criteria andPhyExmRemarkGreaterThan(String value) {
            addCriterion("phy_exm_remark >", value, "phyExmRemark");
            return (Criteria) this;
        }

        public Criteria andPhyExmRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("phy_exm_remark >=", value, "phyExmRemark");
            return (Criteria) this;
        }

        public Criteria andPhyExmRemarkLessThan(String value) {
            addCriterion("phy_exm_remark <", value, "phyExmRemark");
            return (Criteria) this;
        }

        public Criteria andPhyExmRemarkLessThanOrEqualTo(String value) {
            addCriterion("phy_exm_remark <=", value, "phyExmRemark");
            return (Criteria) this;
        }

        public Criteria andPhyExmRemarkLike(String value) {
            addCriterion("phy_exm_remark like", value, "phyExmRemark");
            return (Criteria) this;
        }

        public Criteria andPhyExmRemarkNotLike(String value) {
            addCriterion("phy_exm_remark not like", value, "phyExmRemark");
            return (Criteria) this;
        }

        public Criteria andPhyExmRemarkIn(List<String> values) {
            addCriterion("phy_exm_remark in", values, "phyExmRemark");
            return (Criteria) this;
        }

        public Criteria andPhyExmRemarkNotIn(List<String> values) {
            addCriterion("phy_exm_remark not in", values, "phyExmRemark");
            return (Criteria) this;
        }

        public Criteria andPhyExmRemarkBetween(String value1, String value2) {
            addCriterion("phy_exm_remark between", value1, value2, "phyExmRemark");
            return (Criteria) this;
        }

        public Criteria andPhyExmRemarkNotBetween(String value1, String value2) {
            addCriterion("phy_exm_remark not between", value1, value2, "phyExmRemark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}